﻿using Microsoft.AspNet.Identity.EntityFramework;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;


namespace scheduleMVC.Models
{
    // You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more.
    public class ApplicationUser : IdentityUser
    {

      


        //protected override void OnModelCreating(DbModelBuilder modelBuilder)
        //{

        //   // modelBuilder.Entity<ApplicationDbContext>().HasRequired(r => r.);

        //}
    }

    
    
    public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
    {
        public ApplicationDbContext()
            : base("DefaultConnection")
        {
        }
        public DbSet<EmployeeModel> Employees { get; set; }
       
        
    }
   

}